import request from '@/utils/request'

// 查询查看内容列表
export function listSecond_classroom_content(query) {
  return request({
    url: '/system/second_classroom_content/list',
    method: 'get',
    params: query
  })
}

// 查询查看内容详细
export function getSecond_classroom_content(id) {
  return request({
    url: '/system/second_classroom_content/' + id,
    method: 'get'
  })
}

// 新增查看内容
export function addSecond_classroom_content(data) {
  return request({
    url: '/system/second_classroom_content',
    method: 'post',
    data: data
  })
}

// 修改查看内容
export function updateSecond_classroom_content(data) {
  return request({
    url: '/system/second_classroom_content',
    method: 'put',
    data: data
  })
}

// 删除查看内容
export function delSecond_classroom_content(id) {
  return request({
    url: '/system/second_classroom_content/' + id,
    method: 'delete'
  })
}
